package cn.hwadee.muying.mapper;

import cn.hwadee.muying.entity.Job;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import cn.hwadee.muying.entity.User;
import cn.hwadee.muying.commons.page.MyPage;
import java.util.List;

/**
 * <p>
 * 职位 Mapper 接口
 * </p>
 *
 * @author Mankind
 * @since 2018-08-03
 */
@Mapper
@Component(value = "jobMapper")
public interface JobMapper extends BaseMapper<Job> {

    List<Job> list(@Param("page") MyPage<Job> page, @Param("cUser") User cUser) throws Exception;

}
